package com.fy.proj5_permission_transaction_cache;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 应用程序主类
 */
@SpringBootApplication
@MapperScan("com.fy.proj5_permission_transaction_cache.mapper")
@EnableTransactionManagement
@EnableCaching
public class Proj5Application {

    public static void main(String[] args) {
        SpringApplication.run(Proj5Application.class, args);
    }

}